<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            padding-top: 500px;
            padding-left:50px ;
        }
        #d1{
            width: 1000px;
            height: 500px;
            background-color: red;
            position: fixed ;
             top:0;
        }
        #d2{
            width: 50px;
            height: 500px;
            background-color:blue ;
            position: fixed ;
            right: 20px;
            top:0;
        }
    </style>
</head>
<body>
    <div id="d1">头头</div>
    <div id="d2">头头</div>
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">
    <img src="../wemen.jpg" alt="">

</body>
</html>